﻿using Snowflake.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class IdHelper
    {
        static IdWorker worker = new IdWorker(1, 1);
        public static long GetSnowflakeId()
        {
            return worker.NextId();
        }
    }
}
